package com.example.service;

import com.example.entity.Orders;
import com.example.entity.OrdersCustom;
import com.example.mapper.OrdersCustomMapper;
import com.example.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @className OrdersCustomService
 * @Description TODO
 * @Author YUjiangpeng
 * @Date 2020/6/17 0:01
 * @Version 1.0
 **/
@Service
public class UserService {

    @Autowired
    private UserMapper userMapper;

    public int batchInsert(List<Map<Object, Object>> list ){
        return userMapper.batchInsert(list);

    }
}
